package org.quartz.watch.dc.impl;

import java.util.List;

import org.quartz.watch.dc.QWLoginDialogController;

import com.icesoft.faces.component.ext.HtmlInputText;

public class QWLoginDC<C extends QWAbstractDC.Record<?>> extends QWAbstractDC<C> implements QWLoginDialogController<C>{
	private HtmlInputText keyPressedInputText;
	private String keyPressed;
	
	public void clean() {
		super.clean();
		keyPressedInputText = null;
		keyPressed = null;
	}

	@Override
	public int getRecordCount() {
		return 0;
	}

	@Override
	public List<C> getRecords() {
		return null;
	}

	@Override
	public boolean navigationActionPerformed() {
		return true;
	}
	
	public boolean isAuthenticated() {
		return true;
	}
	
	public String getKeyPressed() {
		return keyPressed;
	}
	public void setKeyPressed(String key) {
		this.keyPressed = key;
	}

	public HtmlInputText getKeyPressedInputText() {
		return keyPressedInputText;
	}

	public void setKeyPressedInputText(HtmlInputText keyPressedInputText) {
		this.keyPressedInputText = keyPressedInputText;
	}
}
